\hypertarget{format__svg_8c}{}\doxysubsection{extern/libembroidery/src/formats/format\+\_\+svg.c File Reference}
\label{format__svg_8c}\index{extern/libembroidery/src/formats/format\_svg.c@{extern/libembroidery/src/formats/format\_svg.c}}
{\ttfamily \#include $<$stdio.\+h$>$}\newline
{\ttfamily \#include $<$math.\+h$>$}\newline
{\ttfamily \#include \char`\"{}../embroidery\+\_\+internal.\+h\char`\"{}}\newline
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
char \mbox{\hyperlink{format__svg_8c_a77e72b493a82e1f636b8b83bea0cb206}{read\+Svg}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$pattern, FILE $\ast$file)
\item 
char \mbox{\hyperlink{format__svg_8c_a8ca7313902787e9ed94a23630033bee4}{write\+Svg}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$pattern, FILE $\ast$file)
\end{DoxyCompactItemize}
\doxysubsubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{format__svg_8c_a261a5202706a19aed19915ea00584287}{svg\+Creator}}
\item 
int \mbox{\hyperlink{format__svg_8c_afb24cd37a6361ef4102b790bfb04795a}{svg\+Expect}}
\item 
int \mbox{\hyperlink{format__svg_8c_af2739a92493016586a36d41c67c9e9e4}{svg\+Multi\+Value}}
\item 
int \mbox{\hyperlink{format__svg_8c_a3732a0819af92d41ba15d1e843912baa}{current\+\_\+element\+\_\+id}}
\item 
\mbox{\hyperlink{embroidery__internal_8h_a1e4f54951edfeeec310af2579c48f4e6}{Svg\+Attribute}} \mbox{\hyperlink{format__svg_8c_af9d04983989935651b54a928660024e7}{attribute\+List}} \mbox{[}1000\mbox{]}
\item 
int \mbox{\hyperlink{format__svg_8c_aedc757fedd30c5470f56f7c9efed4112}{n\+\_\+attributes}} = 0
\item 
char \mbox{\hyperlink{format__svg_8c_a5ca69064432e28b0b57f5272cfa089a6}{current\+Attribute}} \mbox{[}1000\mbox{]}
\item 
char \mbox{\hyperlink{format__svg_8c_a0a91524923521a7df3f7be107218dbf2}{current\+Value}} \mbox{[}1000\mbox{]}
\end{DoxyCompactItemize}


\doxysubsubsection{Function Documentation}
\mbox{\Hypertarget{format__svg_8c_a77e72b493a82e1f636b8b83bea0cb206}\label{format__svg_8c_a77e72b493a82e1f636b8b83bea0cb206}} 
\index{format\_svg.c@{format\_svg.c}!readSvg@{readSvg}}
\index{readSvg@{readSvg}!format\_svg.c@{format\_svg.c}}
\doxyparagraph{\texorpdfstring{readSvg()}{readSvg()}}
{\footnotesize\ttfamily char read\+Svg (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{pattern,  }\item[{FILE $\ast$}]{file }\end{DoxyParamCaption})}

\mbox{\Hypertarget{format__svg_8c_a8ca7313902787e9ed94a23630033bee4}\label{format__svg_8c_a8ca7313902787e9ed94a23630033bee4}} 
\index{format\_svg.c@{format\_svg.c}!writeSvg@{writeSvg}}
\index{writeSvg@{writeSvg}!format\_svg.c@{format\_svg.c}}
\doxyparagraph{\texorpdfstring{writeSvg()}{writeSvg()}}
{\footnotesize\ttfamily char write\+Svg (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{pattern,  }\item[{FILE $\ast$}]{file }\end{DoxyParamCaption})}

Writes the data from {\itshape pattern} to a file with the given {\itshape file\+Name}. Returns {\ttfamily true} if successful, otherwise returns {\ttfamily false}. 

\doxysubsubsection{Variable Documentation}
\mbox{\Hypertarget{format__svg_8c_af9d04983989935651b54a928660024e7}\label{format__svg_8c_af9d04983989935651b54a928660024e7}} 
\index{format\_svg.c@{format\_svg.c}!attributeList@{attributeList}}
\index{attributeList@{attributeList}!format\_svg.c@{format\_svg.c}}
\doxyparagraph{\texorpdfstring{attributeList}{attributeList}}
{\footnotesize\ttfamily \mbox{\hyperlink{embroidery__internal_8h_a1e4f54951edfeeec310af2579c48f4e6}{Svg\+Attribute}} attribute\+List\mbox{[}1000\mbox{]}}

\mbox{\Hypertarget{format__svg_8c_a3732a0819af92d41ba15d1e843912baa}\label{format__svg_8c_a3732a0819af92d41ba15d1e843912baa}} 
\index{format\_svg.c@{format\_svg.c}!current\_element\_id@{current\_element\_id}}
\index{current\_element\_id@{current\_element\_id}!format\_svg.c@{format\_svg.c}}
\doxyparagraph{\texorpdfstring{current\_element\_id}{current\_element\_id}}
{\footnotesize\ttfamily int current\+\_\+element\+\_\+id}

\mbox{\Hypertarget{format__svg_8c_a5ca69064432e28b0b57f5272cfa089a6}\label{format__svg_8c_a5ca69064432e28b0b57f5272cfa089a6}} 
\index{format\_svg.c@{format\_svg.c}!currentAttribute@{currentAttribute}}
\index{currentAttribute@{currentAttribute}!format\_svg.c@{format\_svg.c}}
\doxyparagraph{\texorpdfstring{currentAttribute}{currentAttribute}}
{\footnotesize\ttfamily char current\+Attribute\mbox{[}1000\mbox{]}}

\mbox{\Hypertarget{format__svg_8c_a0a91524923521a7df3f7be107218dbf2}\label{format__svg_8c_a0a91524923521a7df3f7be107218dbf2}} 
\index{format\_svg.c@{format\_svg.c}!currentValue@{currentValue}}
\index{currentValue@{currentValue}!format\_svg.c@{format\_svg.c}}
\doxyparagraph{\texorpdfstring{currentValue}{currentValue}}
{\footnotesize\ttfamily char current\+Value\mbox{[}1000\mbox{]}}

\mbox{\Hypertarget{format__svg_8c_aedc757fedd30c5470f56f7c9efed4112}\label{format__svg_8c_aedc757fedd30c5470f56f7c9efed4112}} 
\index{format\_svg.c@{format\_svg.c}!n\_attributes@{n\_attributes}}
\index{n\_attributes@{n\_attributes}!format\_svg.c@{format\_svg.c}}
\doxyparagraph{\texorpdfstring{n\_attributes}{n\_attributes}}
{\footnotesize\ttfamily int n\+\_\+attributes = 0}

\mbox{\Hypertarget{format__svg_8c_a261a5202706a19aed19915ea00584287}\label{format__svg_8c_a261a5202706a19aed19915ea00584287}} 
\index{format\_svg.c@{format\_svg.c}!svgCreator@{svgCreator}}
\index{svgCreator@{svgCreator}!format\_svg.c@{format\_svg.c}}
\doxyparagraph{\texorpdfstring{svgCreator}{svgCreator}}
{\footnotesize\ttfamily int svg\+Creator}

\hypertarget{format__svg_8c_Scalable}{}\doxyparagraph{Vector Graphics (.\+svg)}\label{format__svg_8c_Scalable}
\index{svg@{svg}}

The scalable vector graphics (SVG) format is a graphics format maintained by ... \mbox{\Hypertarget{format__svg_8c_afb24cd37a6361ef4102b790bfb04795a}\label{format__svg_8c_afb24cd37a6361ef4102b790bfb04795a}} 
\index{format\_svg.c@{format\_svg.c}!svgExpect@{svgExpect}}
\index{svgExpect@{svgExpect}!format\_svg.c@{format\_svg.c}}
\doxyparagraph{\texorpdfstring{svgExpect}{svgExpect}}
{\footnotesize\ttfamily int svg\+Expect}

\mbox{\Hypertarget{format__svg_8c_af2739a92493016586a36d41c67c9e9e4}\label{format__svg_8c_af2739a92493016586a36d41c67c9e9e4}} 
\index{format\_svg.c@{format\_svg.c}!svgMultiValue@{svgMultiValue}}
\index{svgMultiValue@{svgMultiValue}!format\_svg.c@{format\_svg.c}}
\doxyparagraph{\texorpdfstring{svgMultiValue}{svgMultiValue}}
{\footnotesize\ttfamily int svg\+Multi\+Value}

